@extends('home.cloud.base')
@section('con')
<style type="text/css">
    center{
        font-size:18px;
        color:#80FFFF;
    }
</style>
<div style="width:100%;height:150px"></div>
    <center>
        <h4 style="color:red">【温馨提示】
            @if (session('msg'))
                {{ session('msg') }}
            @else
                只能上传一张图片 @ _ @
            @endif
        </h4>
        <form action=' {{ url("/home/photo") }} ' method='post'  enctype="multipart/form-data">
            <input type='hidden' name='_token' value='{{ csrf_token() }}'>
            <input type='hidden' name='userid' value='{{ $userid }}'>
            图片名字：<input type="text" name="pname"><br/><br/>
            <div class="row">
                <div class="col-lg-4">
                    <div class="col-sm-9">
                        <input type="file" multiple name="pic"/><br/>
                    </div>
                </div>
                <div class='row'>
                    <div class="col-lg-10">
                        <input type='submit' value='添加图片'>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </form>
    </center>
@stop